﻿using System;
namespace System.Data.Services.Providers
{
    /// <summary>
    /// Internal enum for indicating whether the <see cref="T:System.Data.Services.Providers.MetadataProviderEdmModel" /> is currently being used for reading/writing payloads or parsing URIs.
    /// </summary>
    internal enum MetadataProviderEdmModelMode
    {
        /// <summary>
        /// Indicates that the model is being used for reading/writing payloads.
        /// </summary>
        Serialization,
        /// <summary>
        /// Indicates that the model is being used for parsing $select/$expand.
        /// </summary>
        SelectAndExpandParsing,
        /// <summary>
        /// Indicates that the model is being used for URI path parsing.
        /// </summary>
        UriPathParsing
    }
}